package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.Date;

@FieldTypeAnnotation(tableName = "t_l_ck_activity_xiaowu_recall_reward", desc = "斗罗大陆小舞回忆录领奖日志", autoSave = true, uploadCk = true)
public class LogXiaowuRecallReward extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "活动ID", isIndex = true)
    private int activityId;
    @FieldTypeAnnotation(desc = "用户ID", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "领奖类型 0手动,1翻页自动发,2补发")
    private int type;
    @FieldTypeAnnotation(desc = "当前页数")
    private int page;
    @FieldTypeAnnotation(desc = "组合id")
    private String combId;
    @FieldTypeAnnotation(desc = "奖励")
    private String reward;

    public LogXiaowuRecallReward(int activityId, long userId, int type, int page, String combId, String reward) {
        this.activityId = activityId;
        this.userId = userId;
        this.type = type;
        this.page = page;
        this.combId = combId;
        this.reward = reward;
    }

    public long getUserId() {
        return userId;
    }

}
